package com.lzy.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lzy.dao.SysRoleMenuDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.lzy.entity.SysRoleMenuEntity;
import com.lzy.service.ISysRoleMenuService;

import java.util.List;
import java.util.Map;

@Service
public class SysRoleMenuService extends ServiceImpl<SysRoleMenuDao, SysRoleMenuEntity> implements ISysRoleMenuService {

    @Autowired
    private SysRoleMenuDao mapper;

    @Override
    public IPage<Map<String, Object>> selectPageList(Page<Map<String, Object>> result, LambdaQueryWrapper lqw) {
      return mapper.selectPageList(result, lqw);
    }

  @Override
  public void batchInsertInfo(List<SysRoleMenuEntity> result) {
    mapper.batchInsertInfo(result);
  }
}